package com.zb.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @Author WEN
 * @Date 2024/4/12 0012
 **/
@Data
@ApiModel("工单详情费用对象")
public class WorkDetailFeeVo {
    @ApiModelProperty(value = "是否全包费用(配件费+服务费)：false-不包，true-全包")
    private Boolean allInclusiveFee;

    @ApiModelProperty(value = "工单结算价")
    private BigDecimal OrderSettlementPrice;

    @ApiModelProperty(value = "服务费用")
    private BigDecimal serviceFee;

    @ApiModelProperty(value = "配件费用")
    private BigDecimal spareFee;

    public WorkDetailFeeVo() {
    }

    public WorkDetailFeeVo(Boolean allInclusiveFee, BigDecimal orderSettlementPrice, BigDecimal serviceFee, BigDecimal spareFee) {
        this.allInclusiveFee = allInclusiveFee;
        OrderSettlementPrice = orderSettlementPrice;
        this.serviceFee = serviceFee;
        this.spareFee = spareFee;
    }

    public WorkDetailFeeVo(BigDecimal orderSettlementPrice, BigDecimal serviceFee, BigDecimal spareFee) {
        OrderSettlementPrice = orderSettlementPrice;
        this.serviceFee = serviceFee;
        this.spareFee = spareFee;
    }

    public WorkDetailFeeVo(BigDecimal orderSettlementPrice, BigDecimal serviceFee) {
        OrderSettlementPrice = orderSettlementPrice;
        this.serviceFee = serviceFee;
    }
}
